package com.girlbook.dao;

import net.paoding.rose.jade.annotation.DAO;
import net.paoding.rose.jade.annotation.SQL;
import net.paoding.rose.jade.annotation.SQLParam;

import com.girlbook.model.Test;

@DAO
public interface TestDAO
{
	@SQL("select id, msg from test limit 1")
	public Test getTest();

	@SQL("insert into test (id,msg) values (:t.id,:t.msg)")
	public void insertTest(@SQLParam("t") Test test);
}
